/*
 * @Author: [you name]
 * @Date: 2021-10-25 09:24:59
 * @LastEditors: [you name]
 * @LastEditTime: 2021-11-08 09:54:49
 * @Description: 
 */
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
// 导入状态机子模块
import proCategory from './modules/proCategory'
import order from './modules/order'
import users from './modules/users'
import cusCategory from './modules/cusCategory'
import employee from './modules/employee'
import system from './modules/system'
import article from './modules/article'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    proCategory,
    order,
    users,
    cusCategory,
    employee,
    system,
    article
  },
  getters
})

export default store
